#ifndef DW_GRAPHICS_BACKEND_H
#	define DW_GRAPHICS_BACKEND_H

#include "graphics/config.h"

#if (DW_GRAPHICS_BACKEND == DW_GRAPHICS_BACKEND_OPENGL_210)
#	include "graphics/opengl/210/backend.h"
#elif (DW_GRAPHICS_BACKEND == DW_GRAPHICS_BACKEND_OPENGL_320)
#	include "graphics/opengl/320/backend.h"
#elif (DW_GRAPHICS_BACKEND == DW_GRAPHICS_BACKEND_OPENGL_410)
#	include "graphics/opengl/420/backend.h"
#endif

#if (DW_GRAPHICS_BACKEND_OPENGL)
#	include "graphics/opengl/bufferobject.h"
#endif // DW_GRAPHICS_BACKEND_OPENGL

namespace dw {
	namespace graphics {

typedef dw::graphics::details::Backend Backend;
typedef dw::graphics::details::BufferObject BufferObject; //! @todo move to Backend

	} // namespace graphics
} // namespace dw

#endif // !DW_GRAPHICS_BACKEND_H
